Optimal. Leaf size=31 \[ \frac {a^6 \cos ^3(c+d x)}{3 d (a-a \sin (c+d x))^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.08, antiderivative size = 31, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2670, 2671} \[ \frac {a^6 \cos ^3(c+d x)}{3 d (a-a \sin (c+d x))^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2670
Rule 2671
Rubi steps
\begin {align*} \int \sec ^4(c+d x) (a+a \sin (c+d x))^3 \, dx &=a^6 \int \frac {\cos ^2(c+d x)}{(a-a \sin (c+d x))^3} \, dx\\ &=\frac {a^6 \cos ^3(c+d x)}{3 d (a-a \sin (c+d x))^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.03, size = 28, normalized size = 0.90 \[ \frac {a^3 (\sin (c+d x)+1)^3 \sec ^3(c+d x)}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 0.67, size = 99, normalized size = 3.19 \[ \frac {a^{3} \cos \left (d x + c\right )^{2} - a^{3} \cos \left (d x + c\right ) - 2 \, a^{3} - {\left (a^{3} \cos \left (d x + c\right ) + 2 \, a^{3}\right )} \sin \left (d x + c\right )}{3 \, {\left (d \cos \left (d x + c\right )^{2} - d \cos \left (d x + c\right ) + {\left (d \cos \left (d x + c\right ) + 2 \, d\right )} \sin \left (d x + c\right ) - 2 \, d\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 1.52, size = 38, normalized size = 1.23 \[ -\frac {2 \, {\left (3 \, a^{3} \tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )^{2} + a^{3}\right )}}{3 \, d {\left (\tan \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right ) - 1\right )}^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [B] time = 0.26, size = 120, normalized size = 3.87 \[ \frac {a^{3} \left (\frac {\sin ^{4}\left (d x +c \right )}{3 \cos \left (d x +c \right )^{3}}-\frac {\sin ^{4}\left (d x +c \right )}{3 \cos \left (d x +c \right )}-\frac {\left (2+\sin ^{2}\left (d x +c \right )\right ) \cos \left (d x +c \right )}{3}\right )+\frac {a^{3} \left (\sin ^{3}\left (d x +c \right )\right )}{\cos \left (d x +c \right )^{3}}+\frac {a^{3}}{\cos \left (d x +c \right )^{3}}-a^{3} \left (-\frac {2}{3}-\frac {\left (\sec ^{2}\left (d x +c \right )\right )}{3}\right ) \tan \left (d x +c \right )}{d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 0.48, size = 78, normalized size = 2.52 \[ \frac {3 \, a^{3} \tan \left (d x + c\right )^{3} + {\left (\tan \left (d x + c\right )^{3} + 3 \, \tan \left (d x + c\right )\right )} a^{3} - \frac {{\left (3 \, \cos \left (d x + c\right )^{2} - 1\right )} a^{3}}{\cos \left (d x + c\right )^{3}} + \frac {3 \, a^{3}}{\cos \left (d x + c\right )^{3}}}{3 \, d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.59, size = 55, normalized size = 1.77 \[ -\frac {2\,a^3\,\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )\,\left (2\,{\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )}^2-3\right )}{3\,d\,{\left (\cos \left (\frac {c}{2}+\frac {d\,x}{2}\right )-\sin \left (\frac {c}{2}+\frac {d\,x}{2}\right )\right )}^3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________